/* ChennaiAccounts — style.css */
/* Uses Tailwind CSS via CDN. Custom overrides and component styles below. */

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Quicksand:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Root Variables ── */
:root {
  --navy: #000066;
  --teal: #08ada7;
  --teal-light: rgba(8,173,167,0.12);
  --navy-light: rgba(0,0,102,0.08);
  --font-heading: 'Red Hat Display', serif;
  --font-display: 'Red Hat Display', serif;
  --font-body: 'Quicksand', sans-serif;
}


.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}
.check-item::before {
  content: '✓';
  color: var(--teal);
  font-weight: bold;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  min-width: 14px;
}

/* ═══════════════════════════════════════════
   TRUST & SOCIAL PROOF SECTION
═══════════════════════════════════════════ */
.review-card-trust {
  background: #fff;
  border: 1px solid #e8e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  width: 280px;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.review-card-trust:hover { border-color: #08ada7; }
.rc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rc-init {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #000066, #08ada7);
  color: white; font-family: var(--font-heading); font-size: 12px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rc-nm { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: #1a1a2e; }
.rc-dt { font-family: var(--font-body); font-size: 12px; color: #999; }
.rc-body { font-family: var(--font-body); font-size: 14px; color: #555; line-height: 1.6; margin: 0; }

@keyframes scrollLTR {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollRTL {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.ltr-scroll { animation: scrollLTR 35s linear infinite; }
.rtl-scroll { animation: scrollRTL 35s linear infinite; }
.review-marquee-wrap:hover .ltr-scroll,
.review-marquee-wrap:hover .rtl-scroll { animation-play-state: paused; }
/* ── Certificate zoom hover ── */
.cert-img-wrap:hover #cert-thumb { transform: scale(1.04); }
.cert-img-wrap:hover .cert-zoom-overlay { opacity: 1; }

/* in style.css */
#trust .flex-col.lg\:flex-row > div {
  min-height: 300px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #fff; color: #1a1a2e; font-size: 14px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, .heading-font {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Michroma replacements — nav, labels, buttons etc. use DM Sans */
[style*="'Michroma'"] {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

/* ── Header ── */
header .heading-font,
header a,
header nav a,
header button {
  font-family: var(--font-heading);
}

#nav1-zone {
  position: relative;
}
#nav2-zone {
  position: relative;
}

#services-menu::-webkit-scrollbar { width: 4px; }
#services-menu::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }

/* ═══════════════════════════════════════════
   SERVICES PILLS — below certificates
═══════════════════════════════════════════ */
.services-pills-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.services-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.services-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  min-height: 64px;
  background: #fff;
  border: 1.5px solid #e0e4f5;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(0, 0, 102, 0.06);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  transition: box-shadow 0.3s, border-color 0.3s;
  line-height: 1.4;
}
.services-pill svg {
  flex-shrink: 0;
}
.services-pill:hover {
  border-color: #08ada7;
  box-shadow: 0 4px 16px rgba(8, 173, 167, 0.15);
}

/* Tablet: 2 per row */
@media (max-width: 900px) and (min-width: 541px) {
  .services-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 per row, card style */
@media (max-width: 540px) {
  .services-pills-wrap {
    max-width: 100%;
    padding: 0 4px;
  }
  .services-pills-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .services-pill {
    border-radius: 14px;
    padding: 14px 18px;
    min-height: 52px;
    font-size: 14px;
  }
}


/* ── Content Nav ── */
/* ════════════════════════════════════
   MOBILE HEADER — logo left, actions right
════════════════════════════════════ */
@media (max-width: 1023px) {
  #site-header > div {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Logo stays on the left */
  #site-header > div > a:first-child {
    order: 1;
  }

  /* Mobile actions (Get Started + hamburger) go to the right */
  #ca-nav-mobile {
    order: 3;
    margin-left: auto;
  }
}
#content-nav {
  position: sticky; top: 0; z-index: 30;
  background: #fff; border-bottom: 2px solid #f0f0f5;
  transition: box-shadow 0.3s;
  justify-content: center;
  margin-top: 24px;
}
#content-nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,102,0.08); }
.nav-pill {
  display: inline-flex; align-items: center; padding: 14px 18px;
  font-size: 15px; font-family: var(--font-heading); font-weight: 500;
  color: #555; white-space: nowrap; border-bottom: 3px solid transparent;
  transition: all 0.25s; cursor: pointer; text-decoration: none;
}
.nav-pill:hover { color: var(--navy); }
.nav-pill.active { color: var(--navy); border-bottom-color: var(--teal); }

#content-nav-2 {
  background: #ffffff;
  border-bottom: 2px solid #f0f0f5;
  z-index: 30;
  border-top: 2px solid #e0e0ef;
  justify-content: center;
  transition: box-shadow 0.3s;
  margin-top: 0;
  position: sticky;
  top: 0;
}
#content-nav-inner,
#content-nav-inner-2 {
  justify-content: center;
}
#content-nav-2.scrolled { box-shadow: 0 4px 20px rgba(0,0,102,0.08); }
#content-nav-inner-2::-webkit-scrollbar { display: none; }
#content-nav-inner-2 { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Scroll Animations ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.dot-bg-dark {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 1px),
    linear-gradient(135deg, #000066, #000844);
  background-size: 22px 22px, 100% 100%;
}
.dot-bg-dark.pricing-header {
  background:
    radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 1px),
    linear-gradient(160deg, #000066 0%, #00008a 100%);
  background-size: 22px 22px, 100% 100%;
}

/* ── Hero ── */
.hero-bg {
  background:
    radial-gradient(circle, rgba(255,255,255,0.08) 2px, transparent 1px),
    linear-gradient(135deg, #000066 0%, #000844 50%, #001166 100%);
  background-size: 24px 24px, 100% 100%;
  position: relative; overflow: hidden;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(8,173,167,0.15) 0%, transparent 70%);
}
.hero-bg::after {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(8,173,167,0.1);
  animation: pulse-ring 4s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ── Form Card ── */
.form-card {
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,102,0.25);
}

/* ── Section Headings ── */
.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-bottom: 14px;
}
.section-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  border-radius: 2px;
}
.section-heading.centered::after { left: 50%; transform: translateX(-50%); }

/* ── Benefit Cards ── */
.benefit-card {
  border: 1px solid #e8e8f0;
  border-radius: 12px; padding: 24px;
  transition: all 0.3s; background: #fff;
}
.benefit-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 30px rgba(8,173,167,0.12);
  transform: translateY(-3px);
}

/* ── Documents required ── */
.doc-tab {
  background: #f0f4ff;
  color: #555;
  border: 2px solid transparent;
}
.doc-tab:hover {
  background: #e0e8ff;
  color: #000066;
}
.doc-tab.active {
  background: #000066;
  color: #fff;
  border-color: #000066;
}
.doc-panel.hidden { display: none; }

/* ── Pricing Cards ── */
.pricing-card {
  border: 2px solid #e8e8f0; border-radius: 20px;
  overflow: hidden; transition: all 0.3s; background: #fff;
  position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,102,0.12); }
.pricing-card.featured {
  border-color: #000066;
  box-shadow: 0 24px 56px rgba(0,0,102,0.22);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }

/* ── Table ── */
.styled-table { width: 100%; border-collapse: collapse; }
.styled-table th {
  background: var(--navy); color: white;
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  padding: 16px 20px; text-align: left;
}
.styled-table td {
  padding: 15px 20px; border-bottom: 1px solid #eef0f8;
  font-family: var(--font-body); font-size: 17px; color: #333;
}
.styled-table tr:hover td { background: #f6f8ff; }
.styled-table tr:last-child td { border-bottom: none; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid #eef0f8; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-family: var(--font-heading);
  font-size: 16px; font-weight: 600; color: var(--navy);
}
.faq-question:hover { color: var(--teal); }
.faq-answer {
  font-family: var(--font-body); color: #555; line-height: 1.8;
  font-size: 17px;
  overflow: hidden; max-height: 0; transition: max-height 0.35s ease, padding 0.35s;
}
.faq-answer.open { max-height: 300px; padding-bottom: 20px; }
.faq-icon { transition: transform 0.3s; flex-shrink: 0; }
.faq-icon.open { transform: rotate(45deg); }

/* ── Check Item ── */
.check-item { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check-item::before {
  content: '✓'; color: var(--teal); font-weight: bold;
  font-size: 15px; flex-shrink: 0; margin-top: 2px;
}

/* ── Penalty Table Row Colors ── */
.penalty-row:nth-child(odd) td { background: #f9faff; }

/* ── Form Input ── */
.form-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid #dde0f0;
  border-radius: 8px; font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.2s; outline: none;
}
.form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,173,167,0.1); }

/* ── Content Nav Scrollbar ── */
#content-nav-inner::-webkit-scrollbar { display: none; }
#content-nav-inner { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Section Alt ── */
.section-alt { background: #f7f8fd; }

/* ── Step Circle ── */
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  color: white; flex-shrink: 0;
  background: linear-gradient(135deg, #000066, #08ada7);
}

/* ═══════════════════════════════════════════
   REGISTRATION PROCESS — VERTICAL ZIG-ZAG
═══════════════════════════════════════════ */
.zigzag-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.zigzag-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, #08ada7, #000066);
  transform: translateX(-50%);
  border-radius: 2px;
}
.zigzag-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  margin-bottom: 56px;
}
.zigzag-step:last-child { margin-bottom: 0; }
.zigzag-step.step-left {
  flex-direction: row;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  padding-left: 0;
}
.zigzag-step.step-right {
  flex-direction: row-reverse;
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
  padding-right: 0;
}
.zigzag-dot {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #000066, #08ada7);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(8,173,167,0.25), 0 8px 24px rgba(0,0,102,0.2);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(-50%);
  z-index: 2;
  transition: transform 0.3s, box-shadow 0.3s;
}
.zigzag-step:hover .zigzag-dot {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 0 6px rgba(8,173,167,0.2), 0 12px 32px rgba(0,0,102,0.3);
}
.zigzag-card {
  background: #fff;
  border: 1.5px solid #e8e8f0;
  border-radius: 14px;
  padding: 22px 24px;
  max-width: 340px;
  width: 100%;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,102,0.05);
}
.zigzag-card:hover {
  border-color: #08ada7;
  box-shadow: 0 8px 32px rgba(8,173,167,0.14);
  transform: translateY(-2px);
}
.zigzag-step.step-left .zigzag-card::after {
  content: '';
  position: absolute;
  top: 26px;
  right: calc(50% - 40px);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid #e8e8f0;
}
.zigzag-step.step-right .zigzag-card::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% - 40px);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid #e8e8f0;
}
@media (max-width: 767px) {
  .zigzag-timeline::before { left: 24px; }
  .zigzag-step.step-left,
  .zigzag-step.step-right {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 72px;
    padding-right: 0;
  }
  .zigzag-dot { left: 24px; width: 44px; height: 44px; }
  .zigzag-step.step-left .zigzag-card::after,
  .zigzag-step.step-right .zigzag-card::after { display: none; }
}

/* ═══════════════════════════════════════════
   BENEFITS SECTION — 50/50 STICKY + SCROLL STACK
═══════════════════════════════════════════ */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.benefits-sticky-head { position: sticky; top: 120px; }
.benefits-stack { display: flex; flex-direction: column; gap: 18px; }
.benefit-stack-card {
  background: #fff;
  border: 1.5px solid #e8e8f0;
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,102,0.04);
}
.benefit-stack-card.visible { opacity: 1; transform: translateY(0); }
.benefit-stack-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 30px rgba(8,173,167,0.12);
}
.benefit-stack-card:nth-child(1) { transition-delay: 0s; }
.benefit-stack-card:nth-child(2) { transition-delay: 0.08s; }
.benefit-stack-card:nth-child(3) { transition-delay: 0.16s; }
.benefit-stack-card:nth-child(4) { transition-delay: 0.24s; }
.benefit-stack-card:nth-child(5) { transition-delay: 0.32s; }
.benefit-stack-card:nth-child(6) { transition-delay: 0.4s; }
@media (max-width: 900px) {
  .benefits-layout { grid-template-columns: 1fr; gap: 32px; }
  .benefits-sticky-head { position: static; }
}

/* ═══════════════════════════════════════════
   WHY CHOOSE — SOLAR SYSTEM ORB LAYOUT
═══════════════════════════════════════════ */
.solar-section { padding: 80px 0; overflow: hidden; }
.solar-wrapper { position: relative; width: 680px; height: 680px; margin: 0 auto; }
.solar-sun {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 190px; height: 190px; border-radius: 50%;
  background: linear-gradient(135deg, #e5f8f8, #d7f6f5);
  box-shadow: 0 0 0 12px rgba(0,0,102,0.08), 0 0 0 28px rgba(0,0,102,0.04), 0 0 60px rgba(0,0,102,0.25);
  display: flex; align-items: center; justify-content: center;
  text-align: center; z-index: 10; padding: 20px;
}
.solar-sun-inner { color: white; display: flex; align-items: center; justify-content: center; width: 100%; }
.solar-sun-inner .sun-label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; color: rgba(8,173,167,0.9); text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.solar-sun-inner .sun-title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; line-height: 1.25; }
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(70,83,83,0.2);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.orbit-ring-1 { width: 280px; height: 280px; }
.orbit-ring-2 { width: 440px; height: 440px; }
.orbit-ring-3 { width: 620px; height: 620px; }
.planet { position: absolute; width: 130px; text-align: center; cursor: default; transition: transform 0.3s; }
.planet:hover { transform: scale(1.06); }
.planet-orb {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; box-shadow: 0 4px 20px rgba(0,0,102,0.15); transition: box-shadow 0.3s;
}
.planet:hover .planet-orb { box-shadow: 0 6px 28px rgba(8,173,167,0.3); }
.planet-name { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.planet-desc { font-family: var(--font-body); font-size: 16px; color: #666; line-height: 1.4; margin-top: 4px; }
.planet-1 { top: 10px; left: 40%; }
.planet-2 { top: 18%; right: 0%; }
.planet-3 { bottom: 18%; right: 0%; }
.planet-4 { bottom: -10px; left: 40%; }
.planet-5 { bottom: 18%; left: 0%; }
.planet-6 { top: 18%; left: 0%; }
@media (max-width: 720px) {
  .solar-wrapper { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; gap: 0; }
  .solar-sun { position: relative; top: auto; left: auto; transform: none; margin-bottom: 32px; width: 200px; height: 200px; }
  .orbit-ring { display: none; }
  .planet { position: relative; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; width: 100%; text-align: left; }
  .solar-planets-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; padding: 0 16px; }
  .planet-orb { margin-left: 0; }
  .planet { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid #e8e8f0; border-radius: 12px; padding: 14px; }
  .planet-orb { flex-shrink: 0; margin: 0; }
  .planet-text { text-align: left; }
}

/* ── Fade-in Hero ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   MOBILE FIXES
═══════════════════════════════════════════ */

/*
  FIX: overflow-x:clip on html clips position:fixed children (header/hamburger)
  on mobile Safari and Android Chrome. Solution: apply overflow-x:hidden to
  body only — it stops horizontal scroll without breaking fixed positioning.
  The #nav1-zone / #nav2-zone use overflow-x:clip at their own level (below)
  to contain sticky nav bars, which is safe because sticky only needs a scroll
  container, not an unclipped fixed ancestor.
*/
body {
  overflow-x: hidden;
}

/* ════════════════════════════════════
   NAVIGATION BARS — mobile compact
════════════════════════════════════ */
@media (max-width: 767px) {
  #content-nav,
  #content-nav-2 {
    top: 0;
  }
  #content-nav-inner,
  #content-nav-inner-2 {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 8px;
    gap: 0;
  }
  #content-nav-inner::-webkit-scrollbar,
  #content-nav-inner-2::-webkit-scrollbar {
    display: none;
  }
  .nav-pill {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ════════════════════════════════════
   HERO — form card full-width
════════════════════════════════════ */
@media (max-width: 767px) {
  #get-started {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 1 !important;
  }
}

/* ════════════════════════════════════
   TRUST SECTION — override inline width:280px
════════════════════════════════════ */
@media (max-width: 767px) {
  #trust .flex-col.lg\:flex-row {
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #trust [style*="width:280px"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: auto !important;
    flex-shrink: 1 !important;
  }
}

/* ════════════════════════════════════
   REVIEW MARQUEE
════════════════════════════════════ */
@media (max-width: 767px) {
  .review-marquee-wrap {
    max-width: 100vw;
    overflow: hidden;
  }
  .review-card-trust {
    width: 230px;
  }
}

/* ════════════════════════════════════
   ZIGZAG TIMELINE
════════════════════════════════════ */
@media (max-width: 767px) {
  .zigzag-step.step-left .zigzag-card::after,
  .zigzag-step.step-right .zigzag-card::after {
    display: none !important;
  }
  .zigzag-card { max-width: 100%; }
}

/* ════════════════════════════════════
   SOLAR SYSTEM
════════════════════════════════════ */
@media (max-width: 767px) {
  .solar-section { overflow: hidden; }
  .solar-wrapper { width: 100% !important; max-width: 100% !important; height: auto !important; }
}
@media (max-width: 767px) {
  .solar-planets-mobile { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════
   PRICING
════════════════════════════════════ */
@media (max-width: 767px) {
  .pricing-card.featured { transform: none !important; }
  .pricing-card.featured:hover { transform: translateY(-4px) !important; }
}

/* ════════════════════════════════════
   NAV ZONES — clip overflow safely at zone level
   overflow:clip here is fine — sticky only needs a
   scroll container ancestor, not an unclipped one.
   position:fixed elements are NOT children of these zones.
════════════════════════════════════ */
@media (max-width: 767px) {
  #nav1-zone,
  #nav2-zone {
    overflow-x: clip;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */

.ca-footer {
    background: #000066;
    position: relative;
    overflow: hidden;
  }

  /* Subtle dot-grid texture */
  .ca-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
  }

  /* Teal glow bottom-left */
  .ca-footer::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8,173,167,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .ca-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 0;
  }

  /* ── Top grid ── */
  .ca-footer-top {
    display: grid;
    grid-template-columns: 300px 1fr 160px 200px;
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* Brand column */
  .ca-footer-brand p {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    margin: 16px 0 24px;
  }

  .ca-footer-socials {
    display: flex;
    gap: 10px;
  }

  .ca-footer-social-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
  }
  .ca-footer-social-btn:hover {
    border-color: #08ada7;
    background: rgba(8,173,167,0.12);
    color: #08ada7;
  }

  /* Column headings */
  .ca-footer-col-title {
    font-family: 'Red Hat Display', serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #08ada7;
    margin-bottom: 18px;
  }

  /* Services — 2-column grid inside footer */
  .ca-footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }

  .ca-footer-link {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.18s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ca-footer-link:hover { color: #fff; }

  /* Quick links */
  .ca-footer-links-col a {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.18s;
  }
  .ca-footer-links-col a:hover { color: #fff; }

  /* Contact */
  .ca-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }
  .ca-footer-contact-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(8,173,167,0.12);
    border: 1px solid rgba(8,173,167,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #08ada7;
  }
  .ca-footer-contact-item a,
  .ca-footer-contact-item span {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    line-height: 1.5;
    padding-top: 6px;
    transition: color 0.18s;
  }
  .ca-footer-contact-item a:hover { color: #fff; }

  /* ── Bottom bar ── */
  .ca-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 24px;
    gap: 16px;
    flex-wrap: wrap;
  }

  .ca-footer-copyright {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
  }

  .ca-footer-legal {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .ca-footer-legal a {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.18s;
  }
  .ca-footer-legal a:hover { color: rgba(255,255,255,0.7); }
  .ca-footer-legal-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
  }

  /* ── Responsive ── */
  @media (max-width: 1023px) {
    .ca-footer-top {
      grid-template-columns: 1fr 1fr;
      gap: 36px;
    }
    .ca-footer-brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 600px) {
    .ca-footer-top {
      grid-template-columns: 1fr;
    }
    .ca-footer-brand {
      grid-column: auto;
    }
    .ca-footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    .ca-footer-services-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  /* ═══════════════════════════════════════════
   HEADER — NAV STYLES
═══════════════════════════════════════════ */
#ca-nav-desktop   { display: none; align-items: center; gap: 4px; }
#ca-right-actions { display: none; align-items: center; gap: 6px; }
#ca-nav-mobile    { display: none; align-items: center; gap: 6px; }

@media (min-width: 1024px) {
  #ca-nav-desktop   { display: flex !important; }
  #ca-right-actions { display: flex !important; }
  #ca-nav-mobile    { display: none !important; }
}
@media (max-width: 1023px) {
  #ca-nav-desktop   { display: none !important; }
  #ca-right-actions { display: none !important; }
  #ca-nav-mobile    { display: flex !important; }
  #site-header > div { display: flex !important; grid-template-columns: unset !important; }
}

.ca-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px;
  text-decoration: none; transition: background 0.15s;
}
.ca-dd-item:hover { background: rgba(0,0,102,0.05); }
.ca-dd-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ca-dd-title { font-family: 'Red Hat Display', serif; font-size: 13px; font-weight: 600; color: #000066; line-height: 1.3; }
.ca-dd-sub   { font-family: 'Quicksand', sans-serif; font-size: 11px; color: #999; line-height: 1.3; }

.ca-nav-link {
  padding: 8px 14px; border-radius: 100px;
  font-family: 'Red Hat Display', serif; font-size: 13.5px; font-weight: 600; color: #374151;
  text-decoration: none; transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.ca-nav-link:hover { background: rgba(0,0,102,0.07); color: #000066; }

.ca-mob-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  text-decoration: none; transition: background 0.15s;
}
.ca-mob-item:hover { background: rgba(0,0,102,0.05); }
.ca-mob-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ca-mob-title { font-family: 'Red Hat Display', serif; font-size: 13px; font-weight: 600; color: #000066; }
.ca-mob-sub   { font-family: 'Quicksand', sans-serif; font-size: 11px; color: #999; }

.ca-mob-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  font-family: 'Red Hat Display', serif; font-size: 14px; font-weight: 500; color: #374151;
  text-decoration: none; transition: background 0.15s;
}
.ca-mob-link:hover { background: rgba(0,0,102,0.05); color: #000066; }

#services-menu::-webkit-scrollbar { width: 4px; }
#services-menu::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }

#site-header.nav-hidden { top: -100px !important; opacity: 0; pointer-events: none; }

/* ═══════════════════════════════════════════
   HEADER — BODY BASE OVERRIDES
═══════════════════════════════════════════ */
[style*="Michroma"] {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

/* ═══════════════════════════════════════════
   CONTACT MODAL
═══════════════════════════════════════════ */
#ca-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 40, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: caModalFadeIn 0.2s ease;
}
@keyframes caModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#ca-modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  animation: caModalSlideUp 0.25s ease;
}
@keyframes caModalSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#ca-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: rgba(0,0,102,0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  color: #000066;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#ca-modal-close:hover { background: rgba(0,0,102,0.15); }